Repository navigation
Conversation
|
Measured this PR on lavapipe under CI-like contention and on an RTX 4090. Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, Intel i9-14900KF. GPUs: lavapipe (Mesa 26.2.7, LLVM 23.1.4) and NVIDIA GeForce RTX 4090 (620.70.06). Base Command: this approximates the 16-thread runner, which runs 15 tests at once on lavapipe with no usable shader cache: taskset -c 0-15 env MESA_SHADER_CACHE_DISABLE=true LP_NUM_THREADS=16 ANYPS5_GPU=llvmpipe ANYPS5_REQUIRE_VULKAN=1 GALLIUM_OVERRIDE_CPU_CAPS=avx \
ctest --test-dir build -R '^agc_driver_runtime_buffer_spans_' -j 15 --timeout 120
The two columns are separate runs under different host load, so they are not a timing comparison. They show that the PR makes the tests pass by allowing up to 60 s, and that Two observations on the measurements in the description:
As an alternative that keeps the 30 s limit, AI-assisted: yes (Claude Code) |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The timeout change matches the reported cold-start runtime and does not alter test behavior.
What I ran
Reviewed head 5567aff5ca57fd2ba9a7a978d253fe3e27c1d71a. I read the description, commit summary, manifest, diff, and complete changed CMake file. I did not run tests; the test results in the description are author-reported.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed file review | passed | One timeout increase |
| Test execution | not run | Author reports six passes |
Findings
Blocking
None.
Non-blocking
None.
Not verified
Runtime measurements and reported test runs were not independently verified. files.json and repository files outside the changed CMake file were not read; the manifest lists only that one changed file.
To get this to a good state
Nothing is required.
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The timeout change is consistent with the stated cold-cache rationale and affects only the spans and reference matrix tests.
What I ran
Read the prepared description, commit list, manifest, diff, and the changed CMake file at head c7764f4de0379351d2bf9b24b3ba4bfd6ca72db6. No commands or tests were run.
Results
| Check | Result | Note |
|---|---|---|
| Patch and changed file | passed | Timeout scope matches the test modes |
| Test execution | not run | Author-reported runs only |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The reported CTest runs on Mesa and NVIDIA were not run independently. Only the one changed file was read; no excluded files were listed in the provided manifest.
To get this to a good state
Nothing is required.
…e cache Both matrix modes compile the same pipelines, so both cost the same cold: 6.2 s (x2), 8.3 s (x3) and 11.0 s (x4) on llvmpipe with MESA_SHADER_CACHE_DIR empty, against 0.3-0.9 s warm, and the Linux job runs four tests at once on a shared runner, where x3 and x4 went past the 30 s limit. The fault variants dispatch one case and stay at 30 s.
c7764f4 to
33e8051
Compare
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The timeout condition covers both matrix modes, including reference, while leaving fault tests at the existing 30-second timeout.
What I ran
Reviewed head 33e805144ff3e0c69dc4145a5944e22ba8f0cb11 against main using the prepared diff and repo_read.py. No tests or builds were run.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed file | passed | One CMake test definition |
| Tests and build | not run | No execution performed |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The author reports CTest success on lavapipe and NVIDIA hardware; those runs were not independently verified. Read core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_runtime_buffer_spans_tests.cmake and the prepared description, commits, manifest, and diff. No files were excluded according to the manifest.
To get this to a good state
Nothing is required.
|
Rebased onto current |
|
#22123 has merged and split these tests by wave size and coherence state, so each reference test now runs on its own with the 30 s limit. Raising the reference limit to 120 on the old numbers (x3 and x4 spans took 36 to 45 s before the split) may no longer be needed. Could you rebase and show a cold-cache run of the reference tests on current main with a duration over 30 s on Linux or Windows? With that I will pass the one line change; without it the extra room just hides slow tests. If they now fit in 30 s, closing this is fine. |
|
Following #22123's split I rebased this onto The slowest quarter is 0.74 s, so the 30 s limit has ample room and the extra reference room is no longer needed. Closing as you suggested. |
What
agc_driver_runtime_buffer_spans_x{2,3,4}_referencekeep the 30 s default while they compile the pipelines they dispatch, and on a cold Mesa shader cache that is most of their wall time. Measured on llvmpipe (Mesa 26.2.6) withMESA_SHADER_CACHE_DIRpointing at an empty directory, one test at a time:x2 --check-spans/--referencex3 --check-spans/--referencex4 --check-spans/--reference--check-spansand--referencecost the same: it is the pipeline compilation both modes pay, not the span lookup. The Linux job runs four of these at once on a shared runner, and the two mode-agnostic failures of run 43841416406 (x3_spans,x4_spans) are what the 120 s budget addresses.mainnow gives thespansmode 120 s (57d9769). This branch keeps that budget and extends it to thereferencemode, which pays the same cold-cache cost and would flake the same way. The_fault_stop/_fault_barriervariants dispatch one case (0.3 s cold) and keep 30 s.Tested
Configured the merged tree and checked the generated CTest properties: the six matrix tests now carry
TIMEOUT 120, the two fault variants keep 30 s.ctest -R "^agc_driver_runtime_buffer_spans_x" -j4with a freshMESA_SHADER_CACHE_DIRandVK_ICD_FILENAMESon Mesa lavapipe 26.2.6: 6/6 pass, slowest 10.97 s (x4_spans). Same six pass on an NVIDIA RTX 4080 SUPER. No code change, so no behavior to test beyond the tests running.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Summary by CodeRabbit